<?php
namespace Config;

/**
 * -----------------workman配置参数start--------------------
 */
define('SERVICE_URL', 'http://devkefu.pangu.bet');
//本地调试
//define('SERVICE_URL', 'http://i.project.com:999');

define('WORKMAN_IP', '103.199.102.222');
define('IMG_OFFLINE', 'http://devkefu.pangu.bet/user_offline.jpg');
define('AVATAR_USER', 'http://devkefu.pangu.bet/user.jpg');
define('AVATAR_ADMIN', 'http://devkefu.pangu.bet/custom.jpg');
//DB配置参数
define('WS_HOST', '172.16.9.225');
define('WS_PORT', 3306);
define('WS_USER','pgdbs');
define('WS_PASSWORD', 'PanGuDB123./');
define('WS_DBNAME', 'pangu');
define('WS_CHARSET', 'utf8');

/*
 * -----------------workman配置参数end----------------------
 */
class Db
{
    public static $laychat = array(
        'host'    => WS_HOST,
        'port'    => WS_PORT,
        'user'    => WS_USER,
        'password' => WS_PASSWORD,
        'dbname'  => WS_DBNAME,
        'charset'    => WS_CHARSET,
    );
}
